package com.example.springvue.service;

import java.util.List;
import java.util.Map;


public interface AuthRuleService {

    //获取用户一级权限
    List<Map< String, Object >> getAuthRuleList(String Id);


    //获取所有一级菜单
    List<Map< String, Object >> getAuthRule();

    //获取子级菜单权限
    List<Map< String, Object >> getAuthRuleListTwo(String Id);

    //获取所有子级菜单
    List<Map< String, Object >> getAuthRuleTwo(String Id);


    //获取所有
    List<Map<String ,Object>> getAuthRuleCascade();


    //添加
    boolean authRuleAdd(Map<String,Object> map);

    boolean authRuleEdit(Map<String,Object> map);

    boolean authRuleDelete(String id);

}

